<?php
declare(strict_types=1);

return [
    'aliyun' => [
        'oss' => [
            'accessKeyId' => 'LTAIQeNQlkeCQqs7',
            'accessKeySecret' => 'BCHjRAzy3ZW8c3OmpMQY9m9EAl7Mu8',
            'endpoint' => 'https://oss-cn-chengdu.aliyuncs.com',
            'bucket' => 'k-wai',
        ],
    ],
    'relativePublicPath' =>  '/public/client/file/',
    'avatarDir' => BASE_PATH . '/public/client/avatar/',//上传头像相对路径
    'chatDir' => BASE_PATH . '/public/client/chat/',//上传聊天图片相对路径
    'localAvatarDir' => $_SERVER['DOCUMENT_ROOT'] . '/public/client/avatar/',//上传头像绝对路径
    'localChatDir' => $_SERVER['DOCUMENT_ROOT'] . '/public/client/chat/',//上传聊天图片绝对路径
    'hostUrl' => 'http://qw-api.sicunxtc.com',
    'webHostUrl'  => 'http://qw-web.sicunxtc.com',
    'pathType' => 1,//1本地服务器，2oss
];